﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace HR60_PanelSoft.View
{
	public partial class WindowPublic : Form
	{
		public WindowPublic()
		{
			InitializeComponent();

			radioNetGate.Checked = true;
		}

		bool typeChangeFlag = false;

		private void radio_CheckedChanged(object sender, EventArgs e)
		{
			if (typeChangeFlag) return;
			typeChangeFlag = true;

			panelNetGate.Visible = radioNetGate.Checked;
			panelNetGateBtn.Visible = radioNetGate.Checked;
			panelCom.Visible = radioCom.Checked;
			panelComBtn.Visible = radioCom.Checked;

			typeChangeFlag = false;
		}
	}
}
